﻿
@{
    Layout = null;
}

<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>正在播放</title>
</head>
<body ondragstart="window.event.returnValue=false" oncontextmenu="window.event.returnValue=false" onselectstart="event.returnValue=false" style="background-color:#ffffff;transition:all 1s">
    <div style="overflow:hidden;">
        <iframe src="http://65yw.2m.vc/chaojikan.php?url=" style="width:800px;height:600px;margin-top:-55px;border:0;text-align:center;"></iframe>
    </div>
    <span><img src="~/Content/TV_64.png" /></span>
    <div>如果长时间未播放，请刷新页面</div>
</body>
</html>
<script src="~/Scripts/jquery-2.1.1.min.js"></script>
<script src="~/MD5Endecode.js"></script>
<script type="text/javascript">
    $(function () {
        var url = '@ViewData["url"].ToString()';
        if (url!= "false")
        {
            $("iframe").attr("src", $("iframe").attr("src")+url);
        }
    })
    //禁止右键
    function click() {
        if (event.button == 2) {
        }
    }
    document.onmousedown = click
    //禁止F12
    $(document).keydown(function () { return key(arguments[0]) }); function key(e) { var keynum; if (window.event) { keynum = e.keyCode; } else if (e.which) { keynum = e.which; } if (keynum == 123) { window.close(); return false; } }
    //打开chrome控制台
    $(function () {
        var re = /x/;
        var i = 0;
        console.log(re);

        re.toString = function () {
            $("iframe").attr("src", "");
            alert("请不要查看源码");
        };
    });
    //作者：飞羽解
    //链接：https://www.zhihu.com/question/24188524/answer/117094116
    //来源：知乎
    //著作权归作者所有。商业转载请联系作者获得授权，非商业转载请注明出处。
    setTimeout(function () {
        $("body").css("background-color", "#000");
    }, 7000);
</script>
